<template>
  <div class="icons">
    <div class="icons-item" v-for="(item, index) in iconsData">
      <img :src="item.image" alt="">
      <span>{{ item.title }}</span>
    </div>
  </div>
</template>

<script>
export default {
  name: 'icons',
  props: {
    iconsData: {
      type: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style lang='less' scoped>
.icons {
  display: flex;
  font-size: 12px;
  background-color: #fff;
  padding: 10px 0 0 0;
  .icons-item {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    img {
      width: 28px;
    }
    span {
      margin: 10px 0;
    }
  }
}
</style>